const Router = require('koa-router')
const { createRoutes } = require("./routes");
const createTaskRoutes = require("./router/buryPointCardTask");
global.monitorInfo = {
    userIdArray: [],
    debugInfoArray: []
}
global.tableTimeStamp = new Date().Format("yyyyMMdd")
global.web_monitor_version = "1.0.0"
global.BUILD_ENV = process.argv[3]

const router = new Router({
    prefix: '/tracker'
})

createRoutes(router)
createTaskRoutes(router)

module.exports = router
